-
Notifications
You must be signed in to change notification settings - Fork 711
Fix #2804: Text Platform roundtrip (with tests) #2862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
LGTM. |
Have to fix the ambiguous parse though.
otherwise:
|
ping @23Skidoo, now this is green. AFAICS parse part of |
@@ -193,8 +209,14 @@ buildPlatform = Platform buildArch buildOS | |||
-- Utils: | |||
|
|||
ident :: Parse.ReadP r String | |||
ident = Parse.munch1 (\c -> Char.isAlphaNum c || c == '_' || c == '-') | |||
--TODO: probably should disallow starting with a number | |||
ident = liftM2 (:) first rest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like ident
is now identical to dashlessIdent
. Is this intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, ident
should have dash. Will fix shortly.
@23Skidoo does it look ok now? |
It does! Merging, thanks! |
Fix #2804: Text Platform roundtrip (with tests)
No description provided.